package com.remoting.api.spi.executor;

import com.remoting.api.RemoteServiceExecutor;
import com.remoting.api.spi.Factory;
import com.remoting.api.spi.SpiLoader;

/**
 * 远程服务调用接口工厂
 * <p>说明:</p>
 * <li></li>
 *
 * @Author DuanYong
 * @Since 2019/5/10 16:21
 * @Version 1.0
 */
public interface RemoteServiceExecutorFactory  extends Factory<RemoteServiceExecutor> {
    static RemoteServiceExecutor create() {
        return SpiLoader.load(RemoteServiceExecutorFactory.class).get();
    }
}
